package com.heima.model.wemedia.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 自媒体用户登录行为信息表
 *
 * @TableName wm_user_login
 */
@TableName(value = "wm_user_login")
@Data
public class WmUserLogin implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id")
    private Object id;
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Object userId;
    /**
     * 登录设备ID
     */
    @TableField(value = "equipment_id")
    private Object equipmentId;
    /**
     * 登录IP
     */
    @TableField(value = "ip")
    private String ip;
    /**
     * 登录地址
     */
    @TableField(value = "address")
    private String address;
    /**
     * 经度
     */
    @TableField(value = "longitude")
    private BigDecimal longitude;
    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private BigDecimal latitude;
    /**
     * 登录时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
}